﻿@using Ec_System.Facade.Web
@using Ec_System.Models.Web
@using Webdiyer.WebControls.Mvc
@model PagedList<VendorShopData>

@{
    Layout = null;
    var image_server = new SiteConfigFacade().ImageServer;
}


<div class="block clearfix">
    <div class="box">
        <div class="box_1">
            <div class="ur_here">
                @if (@TempData["CityName"] != null)
                {
                    <a href="">首页</a> <code>&gt;</code> <span>精品店铺</span> <code>&gt;</code> @TempData["CityName"]
                }
                else
                {
                    <a href="">首页</a> <code>&gt;</code> <span>精品店铺</span>
                }
                <div class="b_box2">
                </div>
            </div>

            <div class="block box">
                <div class="AreaR3" style=" float:right">
                    <div class="box">
                        <div class="box_1" style="border-bottom:none">
                            <h3><span title="店长推荐">掌柜推荐</span></h3>
                            <div id="bossRecommend" class="boxCenterList clearfix">
                            </div>
                        </div>
                    </div>
                    <div class="blank"></div>
                </div>

                <div class="AreaL3" style="float:left; position:relative">
                    <div class="cat_box2">
                        <div class="h3_2">
                            <div class="f_l">
                                店铺列表（按开店时间先后顺序）
                            </div>
                        </div>
                        @foreach (var item in Model)
                        {
                            <ul>
                                <li class="goodsItem_kuang goodsItem_kuang2">
                                    <div class="shopList" onmouseover="this.className = 'shopList goodsItem_on'" onmouseout=" this.className='shopList' ">
                                        <img src="@image_server/Vendor/Shop/@item.ID/@item.ImageUrl" width="260" height="180">
                                        <div class="shopListTitle">
                                            <span class="f2">店&nbsp;&nbsp;铺&nbsp;&nbsp;名：</span><a href="/shop/@item.ShopURL">@item.ShopName</a><br>
                                            <span class="f2">店铺地址：</span>@item.Adress <br>
                                            <span class="f2">联&nbsp;&nbsp;系&nbsp;&nbsp;人：</span>@item.LinkMan <br>
                                            <span class="f2">联系电话：</span>@item.LinkPhoneNum <br>
                                            <span class="f2">店铺状态：</span>@item.Status<br>
                                            <div style="float:left"><img style="padding-right: 5px" src="/Content/images/store.png" width="16" height="16" /><a href="/shop/@item.ShopURL">进入店铺</a></div>
                                            <div style="float: left; padding-left: 15px"><img style="padding-right: 5px" src="/Content/images/StoreImprove.png" width="16" height="16" /><a href="/Shop/ShopDetail/@item.ID">店铺详情</a></div>
                                            <div style="float: left; padding-left: 15px"><img style="padding-right: 5px" src="/Content/images/tel.png" width="18" height="18" /><a href="">在线咨询</a></div>
                                        </div>
                                    </div>
                                </li>
                            </ul>
                        }
                    </div>
                    <div class="blank"></div>
                    <div class="f_l">
                        @*<hgroup>@Html.Pager(Model, new PagerOptions { PageIndexParameterName = "page", ShowGoButton = false, AlwaysShowFirstLastPageNumber = true })</hgroup>*@
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@section Scripts{@{Html.RegisterMvcPagerScriptResource();}}

